//    Copyright (C) Kherty.  All rights reserved.
using System.Collections.Generic;
using System.Diagnostics;
using OpenLS.Core.Serialization;

namespace OpenLS.Chart
{
    public class Pie3DChart : PieChartBase, I3DChart
    {
        protected override void VerifyAxes()
        {
            Debug.WriteLine("todo //\\" + GetType());
        }

        internal override void ReadXmlCore(ReadContext context)
        {
            using (var c = context.Read("pie3DChart"))
            {
                ReadXmlBase(c);
                c.WarnIf("crtExt");
            }
        }


        internal override void WriteXmlCore(WriteContext context)
        {
            using (WriteContext c = context.Write("pie3DChart"))
            {
                WriteXmlBase(c);
                c.WarnIf("crtExt");
            }
        }

        internal override IEnumerable<Axis> GetAxes()
        {
            yield break;
        }
    }
}